package com.example.spinning.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author bayernxmt
 * @create 2020-11-16-20:01
 * 此类用于返回一对多的数据
 */
public class DyeingVo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String  batch_no;
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Timestamp date;
    private String dyelot_no;
    private String  material;
    private String color;
    private String customer;
    private Integer dyelot_num;
    private String bath_ratio;
    private String temperature1;
    private String temperature2;
    private String temperature3;
    List<DyeingInfo> dyeingInfos;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getDyelot_no() {
        return dyelot_no;
    }

    public void setDyelot_no(String dyelot_no) {
        this.dyelot_no = dyelot_no;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public Integer getDyelot_num() {
        return dyelot_num;
    }

    public void setDyelot_num(Integer dyelot_num) {
        this.dyelot_num = dyelot_num;
    }

    public String getBath_ratio() {
        return bath_ratio;
    }

    public void setBath_ratio(String bath_ratio) {
        this.bath_ratio = bath_ratio;
    }

    public String getTemperature1() {
        return temperature1;
    }

    public void setTemperature1(String temperature1) {
        this.temperature1 = temperature1;
    }

    public String getTemperature2() {
        return temperature2;
    }

    public void setTemperature2(String temperature2) {
        this.temperature2 = temperature2;
    }

    public String getTemperature3() {
        return temperature3;
    }

    public void setTemperature3(String temperature3) {
        this.temperature3 = temperature3;
    }

    public List<DyeingInfo> getDyeingInfos() {
        return dyeingInfos;
    }

    public void setDyeingInfos(List<DyeingInfo> dyeingInfos) {
        this.dyeingInfos = dyeingInfos;
    }
}
